//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     系统实体类库
//     操作日志实体对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using System;
using Dapper;

namespace CL.SystemInfo.Entity
{

    /// <summary>
    /// CT_DataLog 实体
    /// </summary>
    [Table("CT_DataLog")]
    public class DataLogEntity
    {

        /// <summary>
        /// 数据操作日志流水号
        /// </summary>
        [Key]
        public long ID { get; set; }

        /// <summary>
        /// 方法描述
        /// </summary>
        public string MethedDescribe { get; set; }

        /// <summary>
        /// 方法名称
        /// </summary>
        public string MethedName { get; set; }

        /// <summary>
        /// 数据类型(1.Table;2.View;3.StoredProcedure)
        /// </summary>
        public int? DataType { get; set; }

        /// <summary>
        /// 操作类型(1.Insert 2.Delete 3.Select 4.Update)
        /// </summary>
        public int? OperateType { get; set; }

        /// <summary>
        /// 操作内容
        /// </summary>
        public string OperateContent { get; set; }

        /// <summary>
        /// 记录时间
        /// </summary>
        public DateTime? RecordTime { get; set; }

    }
}
